home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / c / spwno413.zip / SOURCE.ZIP / BUILD.BAT < prev    next >
DOS Batch File  |  1991-11-02  |  1KB  |  38 lines

  1. @echo off
  2. set lib_=tlib
  3. set asm_=tasm
  4. set cc_=tcc
  5. make -DMDL=t -DTYPE=t
  6. del *.obj >nul
  7. make -DMDL=s -DTYPE=t
  8. del *.obj >nul
  9. make -DMDL=c -DTYPE=t
  10. del *.obj >nul
  11. make -DMDL=m -DTYPE=t
  12. del *.obj >nul
  13. make -DMDL=l -DTYPE=t
  14. del *.obj >nul
  15. make -DMDL=h -DTYPE=t
  16. del *.obj >nul
  17. del spawn?.bak >nul
  18. set lib_=
  19. rem
  20. rem Now build the object modules needed for the alternate version of the
  21. rem library
  22. rem
  23. %asm_% /Q /mx /D__TINY__ /D__MSC__ /Zi spawnerr,spwnerrt
  24. %asm_% /Q /mx /D__SMALL__ /D__MSC__ /Zi spawnerr,spwnerrs
  25. %asm_% /Q /mx /D__COMPACT__ /D__MSC__ /Zi spawnerr,spwnerrc
  26. %asm_% /Q /mx /D__MEDIUM__ /D__MSC__ /Zi spawnerr,spwnerrm
  27. %asm_% /Q /mx /D__LARGE__ /D__MSC__ /Zi spawnerr,spwnerrl
  28. %asm_% /Q /mx /D__HUGE__ /D__MSC__ /Zi spawnerr,spwnerrh
  29.  
  30. %cc_% -mt -O -G -Z -1- -c -D__MSC__ -osystem_t system
  31. %cc_% -ms -O -G -Z -1- -c -D__MSC__ -osystem_s system
  32. %cc_% -mc -O -G -Z -1- -c -D__MSC__ -osystem_c system
  33. %cc_% -mm -O -G -Z -1- -c -D__MSC__ -osystem_m system
  34. %cc_% -ml -O -G -Z -1- -c -D__MSC__ -osystem_l system
  35. %cc_% -mh -O -G -Z -1- -c -D__MSC__ -osystem_h system
  36. set cc_=
  37. set asm_=
  38.